<?php
/***************************************************************************
 * @Description:
 * 
 * @FileName:         memcache.php
 * @Author :          liyong5@staff.sina.com.cn
 * @CreatedTime:      Wed 23 May 2018 05:41:19 PM CST
 ************************************************************************/

return [
    'class' => 'yii\caching\MemCache',
    'servers' => [
        [
            'host' => '127.0.0.1',
            'port' => '7600',
            'weight' => '100',
        ],
    ],
    'useMemcached' => true,
];
